/* SpecialFeatures组件样式 */

/* 特色介绍区域 */
.features {
  padding: 8rem 0;
  background: #fafafa;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255,69,0,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,107,53,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  position: relative;
  z-index: 2;
}

.feature-card {
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,69,0,0.1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,69,0,0.02) 0%, rgba(255,107,53,0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 15px rgba(255,69,0,0.2));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  animation: bounce 0.6s ease-in-out;
}

.feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #ff4500, #ff6b35);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-title::after {
  opacity: 1;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 动画效果 */
.feature-card {
  animation: fadeInUp 0.8s ease-out;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .features {
    padding: 6rem 0;
  }
  
  .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .feature-title {
    font-size: 1.5rem;
  }
  
  .feature-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .features {
    padding: 4rem 0;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
}

/* 特殊动画 */
@keyframes featureFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-card:hover {
  animation: featureFloat 2s ease-in-out infinite;
}